import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HttpModule } from '@angular/http';
import { PolymerElement } from '@vaadin/angular2-polymer';

import { VipComponent } from './vip.component';
import { VipListComponent } from './list/list.component';
import { VipBehaviorComponent } from './behavior/behavior.component';

import { VipRoutingModule } from './vip-routing.module';

import { VipService } from '../service/vip.service';

@NgModule({
    imports: [
        CommonModule,
        HttpModule,
        VipRoutingModule
    ],
    declarations: [
        PolymerElement('vaadin-grid'),
        VipComponent,
        VipListComponent,
        VipBehaviorComponent
    ],
    providers: [VipService],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class VipModule { }
